/*
 * @Descripttion: 获取自身信息
 * @version: 1.0
 * @Author: 自由如风
 * @Date: 2021-04-27 17:26:52
 * @LastEditors: 自由如风
 * @LastEditTime: 2021-04-28 07:15:21
 */
const { Success } = require('../../lib/Response')
module.exports = async function (ctx, next) {
    ctx.body = new Success(ctx.session.user)
    await next()
}
